
<ui-view>
	<header class="common_head-box">
			<div class="common_head">
				<img src="image/back.png" ng-click="backgo()" alt="" />
				<span>我的订单</span>
				<div  class="wddd-zuihougaidong" onclick="NTKF.im_openInPageChat('kf_9048_1509589308292')">
					<img src="image/wddd_mc.png"/>
					<!--<span></span>-->
				</div>
			</div>
	</header>
	<nav class="wddd_nav">
		<div ng-class="{'active-bor-top':all_activebol}" ng-click="nav_go('all')">
			<h4>全部订单</h4>
			<div class="wddd_triangle-left" ng-class="{wddd_active:all_activebol}">

			</div>
		</div>
		<div ng-class="{'active-bor-top':nopay_activebol}" ng-click="nav_go('no_pay')">
			<h4>待付款</h4>
			<div class="wddd_triangle-left" ng-class="{wddd_active:nopay_activebol}">

			</div>
		</div>
		<div ng-class="{'active-bor-top':nodelivery_activebol}" ng-click="nav_go('no_delivery')">
			<h4>待发货</h4>
			<div class="wddd_triangle-left" ng-class="{wddd_active:nodelivery_activebol}">

			</div>
		</div>
		<div ng-class="{'active-bor-top':notaskdelivery_activebol}" ng-click="nav_go('no_task_delivery')">
			<h4>待收货</h4>
			<div class="wddd_triangle-left" ng-class="{wddd_active:notaskdelivery_activebol}">

			</div>
		</div>
		<div ng-class="{'active-bor-top':noassess_activebol}" ng-click="nav_go('no_assess')">
			<h4>待评价</h4>
			<div class="wddd_triangle-left" ng-class="{wddd_active:noassess_activebol}">

			</div>
		</div>
	</nav>
	<div class="wddd_main_box">
		<div class="wddd_section-box" on-finish ng-class="{disnone:disbol}" ng-repeat="(k,v) in data">
			<div class="wddd_numer">
				<span>订单编号：{{v.record_code}}</span>
			</div>
			<div class="wddd_prduct_box" ng-repeat=" i in v.goods_list track by $index">
				<img ng-src="{{i.goods_img}}" alt="" />
				<div class="wddd_prdt_box"  ng-click="tiaozhuan(v.platform_record_id)">
					<h3>{{i.goods_name}}</h3>
					<!--<h5>{{i.goods_aliases_name}}</h5>-->
					<h5>{{i.color_desc}}{{i.size_desc}}</h5>
					<em class="wdd_status">{{i.status_name}}</em>
					<div class="wddd_pro_post">
						<span class="wddd_rmb">￥</span><span class="wddd_price">{{i.price | number:2}}</span>
						<span class="wdd_pro_numer">×{{i.num}}</span>
					</div>
				</div>
			</div>
			<div class="wddd_applyfor_box">
				<div>
					<button ng-click="cannelOrder($event,v.record_code)" ng-class="{disnone:!v.weifukuanbol}">取消订单</button>
					<button class="wwd_ljfc_box" ng-click="lijizhifu(v.platform_record_id,v.pay_type)" ng-class="{disnone:!v.weifukuanbol}">立即付款</button>

					<button ng-class="{disnone:!v.yfkdfhbol}" ng-click="remind(v.record_code)" ng-if="v.show_return==1">提醒发货</button>
					<button ng-if="v.show_return==1" ng-click="shenqingtuikuan(v.platform_record_id)" ng-class="{disnone:!v.yfkdfhbol}">申请退款</button>

					<button ng-class="{disnone:!v.ysqtkbol}">已申请退款</button>

					<button ng-click="wuliu(v.express_code,v.express_no,v.express_name)" ng-class="{disnone:!v.yifahuobol}">查看物流</button>
					<button ng-if="v.show_return==1" ng-click="shenqingtuikuan(v.platform_record_id)" ng-class="{disnone:!v.yifahuobol}">申请退款</button>
					<button  class="wwd_ljfc_box" ng-click="queren_confirm(v.platform_record_id)" ng-class="{disnone:!v.yifahuobol}">确认收货</button>

					<button ng-class="{disnone:!v.yidaohuobol}">查看物流</button>
					<button ng-if="v.show_return==1" ng-click="shenqingtuikuan(v.platform_record_id)" ng-class="{disnone:!v.yidaohuobol}">退款/退货</button>

					<button ng-if="v.show_return==1" ng-click="shenqingtuikuan(v.platform_record_id)" ng-class="{disnone:!v.wanchengbol}">退款/退货</button>
					<button ng-class="{disnone:!v.wanchengbol}" class="wwd_ljfc_box" ng-click="pingjiatiaozhuan(v.platform_record_id)">评价</button>

					<button ng-class="{disnone:!v.yiquxiaobol}">已取消</button>

				</div>
			</div>
		</div>
		<div class="gwc_zzc_queren disnone">
			<div class="gwc_zzc_box">
				<div class="gwc_zzc_sc">
					真的要取消这个订单吗？
				</div>
				<div class="gwc_zzc_btn_box">
					<button ng-click="tfselect($event)">取消</button>
					<button ng-click="tfselect($event)" class="gwc_zzc_confirm">确认</button>
				</div>
			</div>
		</div>
		<div class="gwc_zzc_queren" ng-if="queren_confirm_show">
			<div class="gwc_zzc_box">
				<div class="gwc_zzc_sc">
					确认收货吗？
				</div>
				<div class="gwc_zzc_btn_box">
					<button ng-click="cancel_queren()">取消</button>
					<button ng-click="querenshouhuo()" class="gwc_zzc_confirm">确认</button>
				</div>
			</div>
		</div>
		<!--待收货-没有数据时候的样子-->
	<div class="wddd_null_data" ng-class="{disnone:!disbol}">
		 <div class="wddd_main_container">
			<div>
				您暂时没有订单 <br/>去逛逛
			</div>
			<img src="image/wddd_null_data.png" alt="" />
		 </div>
	</div>
	<div id="zfbtn"></div>
</div>
</ui-view>
